<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">操作类型:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                <label for="row[oper-type]-0"><input id="row[oper-type]-0" checked name="row[oper-type]" value="1" type="radio" />打标</label>
                <label for="row[oper-type]-1"><input id="row[oper-type]-1" name="row[oper-type]" value="2"  type="radio" />去标</label>
            </div>
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">操作数据:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <div class="radio">-->
<!--                <label for="row[data-type]-0"><input id="row[data-type]-0" name="row[data-type]" type="radio" />会员</label>-->
<!--                <label for="row[data-type]-1"><input id="row[data-type]-1" name="row[data-type]" type="radio" />合同模板</label>-->
<!--            </div>-->
<!--        </div>-->
<!--    </div>-->

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">导入文件:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-file_url" data-rule="required" class="form-control" size="50" name="row[file_url]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-attachfile" class="btn btn-danger plupload" data-input-id="c-file_url" data-multiple="false" data-preview-id="p-file_url"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-attachfile" class="btn btn-primary fachoose" data-input-id="c-file_url" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> <a style="margin-left: 10px;font-size: 13px" href="/template/打标模板.xlsx">下载模板</a>
                </div>
                <span class="msg-box n-right" for="c-file_url"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-file_url"></ul>
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
